package cn.iocoder.yudao.module.mqtt.controller.admin.device.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - IoT 设备 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceMapRespVO {

    @Schema(description = "设备 ID，主键，自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "20475")
    private Long id;

    @Schema(description = "设备在线(MQTT)")
    private String isOnline;

    @Schema(description = "设备位置的经度")
    private BigDecimal longitude;

    @Schema(description = "设备位置的纬度")
    private BigDecimal latitude;

    @Schema(description = "设备详细地址")
    private String address;

    @Schema(description = "设备唯一标识符，全局唯一，用于识别设备")
    private String deviceKey;

}